ExamPlay Light Logo
Log ind

Computer Science for IGCSE & O level - Data Representation (Section 9 - No. 44)

What is the primary difference between a logical shift and an arithmetic shift?
Logical shifts involve shifting bits to the left, while arithmetic shifts shift to the right.
Arithmetic shifts preserve the sign bit, logical shifts do not.
Logical shifts are used for multiplication, arithmetic shifts are used for division.
There is no real difference; the terms are used interchangeably.

Forklaring

Arithmetic shifts preserve the sign of the number. Logical shifts ignore the sign bit.

Kommentarer (0)

Log ind for at kommentere
Reklame
BrainBehindX Inc Logo
©2026; Drevet af BrainBehindX Inc